package com.tao.mapper;

import com.tao.pojo.Coding;
import com.tao.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CodingMapper {
    public  int deleteByPrimaryKey(Integer id);

    public   Coding selectByPrimaryKey(Integer id);

public     int updateByPrimaryKeySelective(Coding record);

public     int updateByPrimaryKey(Coding record);

    @Select("select * from coding")
    public List<Coding> selectAll();

    public int insertCoding(Coding coding);
}